package com.k.base.jdk.functions.demo1;

public class Test1 {
    public static void main(String[] args) {
        AutoGen autoGen = new AutoGen();

        DataSourceConfig dataSourceConfig = new DataSourceConfig();
        dataSourceConfig.setUrl("1");
        dataSourceConfig.setUsername("a");
        dataSourceConfig.setPassword("b");

        PackageConfig packageConfig = new PackageConfig();
        packageConfig.setPath("E:/test/gen");

        autoGen.setDataSourceConfig(dataSourceConfig);
        autoGen.setPackageConfig(packageConfig);

        autoGen.gen();
    }
}
